<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>
<body>
    <div id="app">
        <!-- 复选框 (Checkbox) -->
        <input type="checkbox" v-model="toggle" true-value="yes" false-value="no" />
        <br/><span>{{toggle}}</span>

        <!-- 单选框 (Radio) -->
        <br/><br/>
        <input type="radio" v-model="pick" :value='a' name="" id="">
        <br/><span>{{pick}}</span>

        <!-- Select Options -->
        <br/><br/>
        <select v-model="selected">
            <!-- 内联对象字面量 -->
            <option :value="{ number: 123 }">123</option>
        </select>
        <br/><span>{{selected}}</span>
    </div>
        <br/><br/>

    <script>
        const option = {
            data() {
                return {
                    toggle:'',
                    pick:'',
                    a:"abc",
                    selected:''
                }
            },
        }

        const vm = Vue.createApp(option).mount("#app")
    </script>
</body>
</html>